package com.youlu.campus.service.visitor.impl;

import com.youlu.campus.entity.UserAppSubWechatTemplateMsgLog;
import com.youlu.campus.service.visitor.UserAppSubWechatTemplateMsgLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UserAppSubWechatTemplateMsgLogServiceImpl implements UserAppSubWechatTemplateMsgLogService {
    @Autowired
    private MongoTemplate mongoTemplate;

    @Override
    public void create(UserAppSubWechatTemplateMsgLog req) {
        mongoTemplate.insert(req);
    }
}
